package com.ruoyi.service;

import com.ruoyi.domain.entity.MyChatMessage;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.util.List;

@Service
public interface DouBaoAIService {
//    String getAIResponse(String question); // 同步调用
    void getAIResponseStream(String question, SseEmitter emitter); // 流式调用

    void getAIMulAskStream(List<MyChatMessage> messageList, SseEmitter emitter);
    // 单轮同步AI接口
    String getAIAsk(String question);
}
